export default {
  namespaced: true,
  state: {
    token: '',
    // 用户个人信息
    profile: {}
  },
  mutations: {
    setProfile (state, profiele) {
      state.profile = profiele
    },
    setToken (state, token) {
      state.token = token
    },
    removeToken (state) {
      state.token = ''
      state.profile = {}
    }
  },
  actions: {

  },
  getters: {

  }
}
